package com.wc.alorithm_blue_bridge._思维.Q2107;

import java.util.Scanner;

/**
 * @Author congege
 * @Description
 * @Date Created in 2023/10/16-13:52
 * 修剪灌木
 * https://www.lanqiao.cn/problems/2107/learning/?page=3&first_category_id=1&sort=students_count
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int[] array = new int[n];

        for (int i = 0; i < n; i++) {
            array[i] = Math.max(i * 2, (n - i - 1) * 2);
        }
        StringBuffer ans = new StringBuffer();
        for(int num:array){
            ans.append(num);
            ans.append('\n');
        }
        System.out.print(ans);
    }
}
